package edu.sctu.renpingan.imitatesubwaysystem;



import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by user18 on 2015/5/31.
 */
public class PassagerData {
    HashMap<String, Integer> balance = new HashMap<String, Integer>();

    public HashMap<String,List<String>> setPassager() {
        HashMap<String, List<String>> map = new HashMap<String, List<String>>();
        List<String> carry = new ArrayList<String>();
        List<String> carry1 = new ArrayList<String>();
        List<String> carry2 = new ArrayList<String>();
        List<String> carry3 = new ArrayList<String>();
        List<String> carry4 = new ArrayList<String>();
        List<String> carry5 = new ArrayList<String>();
        List<String> carry6 = new ArrayList<String>();


        HashMap<String, Integer> balance = new HashMap<String, Integer>();


        carry.add("地铁卡");
        carry.add("汽油");
        map.put("梁玉翔", carry);
        balance.put("梁玉翔", 20);

        carry1.add("书");
        map.put("李莉", carry1);

        carry2.add("地铁卡");
        carry2.add("电脑");
        carry2.add("哇哈哈");
        map.put("黄天林",carry2);
        balance.put("黄天林",10);

        carry3.add("地铁卡");
        carry3.add("电脑");
        carry3.add("哇哈哈");
        map.put("张三",carry2);
        balance.put("张三",14);

        carry4.add("地铁卡");
        carry4.add("电脑");
        carry4.add("哇哈哈");
        map.put("李四",carry2);
        balance.put("李四",41);

        carry5.add("地铁卡");
        carry5.add("电脑");
        carry5.add("哇哈哈");
        map.put("徐平",carry2);
        balance.put("徐平",66);


        carry6.add("地铁卡");
        carry6.add("电脑");
        carry6.add("哇哈哈");
        map.put("任萍安",carry2);
        balance.put("任萍安",0);


        this.balance=balance;
        return map;
    }
}